// vite.config.mts
import { defineConfig } from "file:///D:/Desktop/2024-1-19/file/vue-vben-admin/internal/vite-config/dist/index.mjs";
var vite_config_default = defineConfig(async () => {
  return {
    application: {},
    vite: {
      server: {
        proxy: {
          "/api": {
            changeOrigin: true,
            rewrite: (path) => path.replace(/^\/api/, ""),
            // mock代理目标地址
            target: "http://localhost:5320/api",
            ws: true
          }
        }
      }
    }
  };
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcubXRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZGlybmFtZSA9IFwiRDpcXFxcRGVza3RvcFxcXFwyMDI0LTEtMTlcXFxcZmlsZVxcXFx2dWUtdmJlbi1hZG1pblxcXFxhcHBzXFxcXHdlYi1hbnRkXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJEOlxcXFxEZXNrdG9wXFxcXDIwMjQtMS0xOVxcXFxmaWxlXFxcXHZ1ZS12YmVuLWFkbWluXFxcXGFwcHNcXFxcd2ViLWFudGRcXFxcdml0ZS5jb25maWcubXRzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9EOi9EZXNrdG9wLzIwMjQtMS0xOS9maWxlL3Z1ZS12YmVuLWFkbWluL2FwcHMvd2ViLWFudGQvdml0ZS5jb25maWcubXRzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSAnQHZiZW4vdml0ZS1jb25maWcnO1xuXG5leHBvcnQgZGVmYXVsdCBkZWZpbmVDb25maWcoYXN5bmMgKCkgPT4ge1xuICByZXR1cm4ge1xuICAgIGFwcGxpY2F0aW9uOiB7fSxcbiAgICB2aXRlOiB7XG4gICAgICBzZXJ2ZXI6IHtc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